package com.wyh.lotterysystem.controller.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
public class CreateActivityRequest {
    @NotBlank(message = "活动名称不能为空")
    String activityName;

    @NotBlank(message = "活动描述不能为空")
    String description;

    @NotEmpty(message = "奖品列表不能为空")
    List<ActivityPrize> activityPrizeList;

    @NotEmpty(message = "人员列表不能为空")
    List<ActivityUser> activityUserList;
}
